import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Activity from '@/pages/activity/Activity'
import Search_page from '@/pages/search_page/Search_page'
import Classify from '@/pages/classify/Classify'
import Jfmall from '@/pages/jfmall/jfmall'
import Person from '@/pages/person/Person'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/home'
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },{
      path: '/activity',
      name: 'Activity',
      component: Activity
    },{
      path: '/search_page',
      name: 'Search_page',
      component: Search_page
    },{
      path: '/classify',
      name: 'Classify',
      component: Classify
    },{
      path: '/jfmall',
      name: 'Jfmall',
      component: Jfmall
    },{
      path: '/person',
      name: 'Person',
      component: Person
    }
  ]
})
